<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Accordion</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
            
                <h1><img src="../assets/css/logo.png" title=""></h1>
            
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: </em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
    <h2 class="off-left">APIs</h2>
    <div id="api-tabview" class="tabview">
        <ul class="tabs">
            <li><a href="#api-classes">Classes</a></li>
            <li><a href="#api-modules">Modules</a></li>
        </ul>

        <div id="api-tabview-filter">
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
        </div>

        <div id="api-tabview-panel">
            <ul id="api-classes" class="apis classes">
            
                <li><a href="../classes/Accordion.html">Accordion</a></li>
            
                <li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
            
                <li><a href="../classes/Button.html">Button</a></li>
            
                <li><a href="../classes/Carousel.html">Carousel</a></li>
            
                <li><a href="../classes/ColorPicker.html">ColorPicker</a></li>
            
                <li><a href="../classes/Combobox.html">Combobox</a></li>
            
                <li><a href="../classes/DateTimePicker.html">DateTimePicker</a></li>
            
                <li><a href="../classes/Grid.html">Grid</a></li>
            
                <li><a href="../classes/ListView.html">ListView</a></li>
            
                <li><a href="../classes/Popover.html">Popover</a></li>
            
                <li><a href="../classes/ProgressBar.html">ProgressBar</a></li>
            
                <li><a href="../classes/RichTextEditor.html">RichTextEditor</a></li>
            
                <li><a href="../classes/ScrollSpy.html">ScrollSpy</a></li>
            
                <li><a href="../classes/Select.html">Select</a></li>
            
                <li><a href="../classes/SideBar.html">SideBar</a></li>
            
                <li><a href="../classes/Slider.html">Slider</a></li>
            
                <li><a href="../classes/Spinner.html">Spinner</a></li>
            
                <li><a href="../classes/Tab.html">Tab</a></li>
            
                <li><a href="../classes/ToolBar.html">ToolBar</a></li>
            
                <li><a href="../classes/Tooltip.html">Tooltip</a></li>
            
                <li><a href="../classes/Tree.html">Tree</a></li>
            
                <li><a href="../classes/Wizard.html">Wizard</a></li>
            
            </ul>

            <ul id="api-modules" class="apis modules">
            
            </ul>
        </div>
    </div>
</div>

            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
        Show:
        <label for="api-show-inherited">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </div>


            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
                        <h1>Accordion Class</h1>
<div class="box meta">
    

    

    
        <div class="foundat">
            Defined in: <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_Accordion.js.html#l9"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_Accordion.js:9</code></a>
        </div>
    

    

    
</div>



<div class="box intro">
    <p>原版的Bootstrap的Collapse</p>

</div>


    <div class="constructor">
        <h2>Constructor</h2>
        <div id="method_Accordion" class="method item">
    <h3 class="name"><code>Accordion</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_Accordion.js.html#l9"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_Accordion.js:9</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    

    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>&lt;div id=&quot;accordion&quot; class=&quot;panel-group&quot;&gt;
  &lt;div class=&quot;panel panel-default&quot;&gt;
    &lt;div class=&quot;panel-heading&quot;&gt;
      &lt;h4 class=&quot;panel-title&quot;&gt;
        &lt;a href=&quot;#collapseOne&quot; data-parent=&quot;#accordion&quot; data-toggle=&quot;collapse&quot; class=&quot;collapsed&quot;&gt;
          菜单1
        &lt;/a&gt;
      &lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class=&quot;panel-collapse collapse&quot; id=&quot;collapseOne&quot; style=&quot;height: 0px;&quot;&gt;
      &lt;div class=&quot;panel-body&quot;&gt;
        折叠内容1
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;panel panel-default&quot;&gt;
    &lt;div class=&quot;panel-heading&quot;&gt;
      &lt;h4 class=&quot;panel-title&quot;&gt;
        &lt;a href=&quot;#collapseTwo&quot; data-parent=&quot;#accordion&quot; data-toggle=&quot;collapse&quot; class=&quot;collapsed&quot;&gt;
          菜单2
        &lt;/a&gt;
      &lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class=&quot;panel-collapse collapse&quot; id=&quot;collapseTwo&quot; style=&quot;height: 0px;&quot;&gt;
      &lt;div class=&quot;panel-body&quot;&gt;
        折叠内容2
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;panel panel-default&quot;&gt;
    &lt;div class=&quot;panel-heading&quot;&gt;
      &lt;h4 class=&quot;panel-title&quot;&gt;
        &lt;a href=&quot;#collapseThree&quot; data-parent=&quot;#accordion&quot; data-toggle=&quot;collapse&quot; class=&quot;&quot;&gt;
          菜单3
        &lt;/a&gt;
      &lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class=&quot;panel-collapse collapse in&quot; id=&quot;collapseThree&quot; style=&quot;height: auto;&quot;&gt;
      &lt;div class=&quot;panel-body&quot;&gt;
        折叠内容3
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;</code></pre>

            </div>
        </div>
    
</div>

    </div>


<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

        
            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
        
        
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
        
        
        
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

            
                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods">
                        
                            <li class="index-item method private">
                                <a href="#method_dimemsion">dimemsion</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_hide">hide</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_show">show</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_toggle">toggle</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties">
                        
                            <li class="index-item property">
                                <a href="#property_allowedTypes">allowedTypes</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_allowedTypes">allowedTypes</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_extFilter">extFilter</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_file">file</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_file">file</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_file">file</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_file">file</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_id">id</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_message">message</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_"></a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_percent  百分比数值">percent  百分比数值</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_toggle">toggle</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            

            
        </div>

        
            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

                
                    <div id="method_dimemsion" class="method item private">
    <h3 class="name"><code>dimemsion</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type">String</span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_Accordion.js.html#l80"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_Accordion.js:80</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type">String</span>:
                    
                    <p>&#39;width&#39; or &#39;height&#39;</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_hide" class="method item">
    <h3 class="name"><code>hide</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_Accordion.js.html#l138"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_Accordion.js:138</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>隐藏</p>

    </div>

    

    

    
</div>

                
                    <div id="method_show" class="method item">
    <h3 class="name"><code>show</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_Accordion.js.html#l90"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_Accordion.js:90</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>显示</p>

    </div>

    

    

    
</div>

                
                    <div id="method_toggle" class="method item">
    <h3 class="name"><code>toggle</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_Accordion.js.html#l178"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_Accordion.js:178</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>根据class切换显示/隐藏</p>

    </div>

    

    

    
</div>

                
            </div>
        

        
            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

                
                    <div id="property_allowedTypes" class="property item">
    <h3 class="name"><code>allowedTypes</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l9"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:9</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件大小验证</p>

    </div>

    

    

    
</div>

                
                    <div id="property_allowedTypes" class="property item">
    <h3 class="name"><code>allowedTypes</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l14"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:14</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件类型验证</p>

    </div>

    

    

    
</div>

                
                    <div id="property_extFilter" class="property item">
    <h3 class="name"><code>extFilter</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l19"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:19</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件名称验证</p>

    </div>

    

    

    
</div>

                
                    <div id="property_file" class="property item">
    <h3 class="name"><code>file</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l34"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:34</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件开始上传事件</p>

    </div>

    

    

    
</div>

                
                    <div id="property_file" class="property item">
    <h3 class="name"><code>file</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l77"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:77</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件类型不匹配</p>

    </div>

    

    

    
</div>

                
                    <div id="property_file" class="property item">
    <h3 class="name"><code>file</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l84"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:84</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件大小不匹配</p>

    </div>

    

    

    
</div>

                
                    <div id="property_file" class="property item">
    <h3 class="name"><code>file</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l91"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:91</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件名称不匹配</p>

    </div>

    

    

    
</div>

                
                    <div id="property_id" class="property item">
    <h3 class="name"><code>id</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l42"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:42</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件上传之前</p>

    </div>

    

    

    
</div>

                
                    <div id="property_message" class="property item">
    <h3 class="name"><code>message</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l69"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:69</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件上传出错</p>

    </div>

    

    

    
</div>

                
                    <div id="property_" class="property item">
    <h3 class="name"><code></code></h3>
    <span class="type">Js对象</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_API_Builder.js.html#l181"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_API_Builder.js:181</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>API数据</p>

    </div>

    
        <p><strong>Default:</strong> {}</p>
    

    

    
</div>

                
                    <div id="property_percent  百分比数值" class="property item">
    <h3 class="name"><code>percent  百分比数值</code></h3>
    <span class="type">Unknown</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_uploader_uploader.js.html#l55"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;uploader&#x2F;uploader.js:55</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>文件开始上传事件</p>

    </div>

    

    

    
</div>

                
                    <div id="property_toggle" class="property item">
    <h3 class="name"><code>toggle</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_Accordion.js.html#l69"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_Accordion.js:69</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>点击其他时是否切换</p>

    </div>

    
        <p><strong>Default:</strong> true</p>
    

    

    
</div>

                
            </div>
        

        

        
    </div>
</div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
